package com.tarena.lbs.content.dao.mapper;

import com.tarena.lbs.content.pojo.po.ActionSearchPO;
import com.tarena.lbs.content.pojo.po.ArticleSearchPO;
import com.tarena.lbs.content.pojo.query.ArticleQuery;
import com.tarena.lbs.content.pojo.vo.ArticleActionPageResultVO;
import com.tarena.lbs.content.pojo.vo.ArticleVO;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Set;

@Mapper
public interface ArticleMapper extends BaseMapper<ArticleSearchPO>{

    List<ArticleVO> select(ArticleQuery articleQuery);
    List<ArticleActionPageResultVO> articleBehavior(ActionSearchPO actionSearchPO);

    Set<String> articleLabels(ArticleQuery articleQuery);

    void updatepo(ArticleSearchPO po);
}
